package com.amigo.online.provider.manager.mongo.dao;


import java.util.List;

import com.amigo.online.provider.manager.model.entity.MerchantTbl;
import com.amigo.online.provider.manager.mongo.entity.UserEntity;
import com.amigo.online.provider.manager.result.MerchantTblInfo;

public interface UserDao {

    public void saveUser(UserEntity user);

    public Long updateUser(UserEntity user);

    public void deleteUserById(Long id);

    public UserEntity getUserById(Long id);

    public List<UserEntity> getLoginTimeUser(UserEntity user);

    public Integer getLoginTimeUserSize(UserEntity user);

    public Long updateMerchantLocation(MerchantTblInfo merchant);
}
